#

pkgname=garcon
pkgver=0.1.7
pkgrel=1
pkgdesc="implementation of the freedesktop.org menu specification"
arch=('ppc')
license=('LGPL')
url="http://wiki.xfce.org/dev/garcon"
groups=('xfce4')
depends=('glib2')
makedepends=('pkg-config' 'intltool' 'gettext')
replaces=('libxfce4menu')
options=('!libtool')
source=(http://archive.xfce.org/src/libs/garcon/0.1/garcon-${pkgver}.tar.bz2)
md5sums=('8990668e4f2fecffe124f613b6e1e01f')

build() {
  cd ${srcdir}/garcon-${pkgver}
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib/xfce4 \
	--localstatedir=/var \
	--disable-static \
	--enable-nls \
	--disable-gtk-doc-html \
	--disable-debug \
	--without-html-dir
  make
}

package() {
  cd ${srcdir}/garcon-${pkgver}
  make DESTDIR=${pkgdir} install
}
